// 引入工具类
import request from '@/utils/request.js' 
 
const morePage = {
	getAccurateValuationDict: data => {// 获取精准估值数据字典
		return request({
			url: '/wx/rest/system/accurateValuationDict',
			method: 'GET',
			data: data,
			isLoading: true ,//是否需要显示加载动画
			isLogin: true //是否需要登录 需要则带入token
		})
	},
	getFastValuation: data => {// 快速估值
		return request({
			url: '/wx/fastValuation/getFastValuation',
			method: 'POST',
			data: data,
			contentType:'application/x-www-form-urlencoded',
			isLoading: true ,
			isLogin: true 
		})
	},
	getValuationReport: data => {// 精准估值
		return request({
			url: '/wx/accurateValuation/valuationReport',
			method: 'POST',
			data: data,
			contentType:'application/x-www-form-urlencoded',
			isLoading: true ,
			isLogin: true 
		})
	},
	getFilterValue: data => {// 筛选
		return request({
			url: '/wx/usedCar/getFilterValue',
			method: 'GET',
			data: data,
			isLoading: true ,
			isLogin: true 
		})
	},
	
	getCarValuation: data => {// 爱车估值
		return request({
			url: '/wx/myCar/getValuationInfo',
			method: 'GET',
			data: data,
			isLoading: true ,
			isLogin: true 
		})
	},
	getCarValuationBg: data => {// 爱车估值报告
		return request({
			url: '/wx/myCar/getXiValuationInfo',
			method: 'GET',
			data: data,
			isLoading: true ,
			isLogin: true 
		})
	},
	getzhQuery: data => {// 召回查询
		return request({
			url: '/wx/zh/zhQuery',
			method: 'GET',
			data: data,
			isLoading: true ,
			isLogin: true 
		})
	},
	gettsQuery: data => {// 投诉查询
		return request({
			url: '/wx/complaints/getVin',
			method: 'GET',
			data: data,
			isLoading: true ,
			isLogin: true 
		})
	},
	getHotSearch: data => {// 获取热门搜索
		return request({
			url: '/wx/rest/system/getPopularSearchList',
			method: 'GET',
			data: data,
			isLoading: true ,
			isLogin: true 
		})
	},
	getHistorySearch: data => {// 获取历史搜索
		return request({
			url: '/wx/my/getMemberSearchLog',
			method: 'GET',
			data: data,
			isLoading: true ,
			isLogin: true 
		})
	},
	getKsRecordList: data => {// 获快速估值记录
		return request({
			url: '/wx/my/getFastValuationList',
			method: 'GET',
			data: data,
			isLoading: true ,
			isLogin: true 
		})
	},
	getJzRecordList: data => {// 获精准估值记录
		return request({
			url: '/wx/my/accurateValuationList',
			method: 'GET',
			data: data,
			isLoading: true ,
			isLogin: true 
		})
	},
	getKsRecordRemove: data => {// 快速估值记录删除
		return request({
			url: '/wx/my/delFastValuation',
			method: 'GET',
			data: data,
			isLoading: true ,
			isLogin: true 
		})
	},
	getJzRecordRemove: data => {// 精准估值记录删除
		return request({
			url: '/wx/my/delAccurateValuation',
			method: 'GET',
			data: data,
			isLoading: true ,
			isLogin: true 
		})
	},
	getKsRecordInfo: data => {// 快速估值记录详情
		return request({
			url: '/wx/my/delFastValuation',
			method: 'GET',
			data: data,
			isLoading: true ,
			isLogin: true 
		})
	},
	getJzRecordInfo: data => {// 精准估值记录详情
		return request({
			url: '/wx/my/delAccurateValuation',
			method: 'GET',
			data: data,
			isLoading: true ,
			isLogin: true 
		})
	},
	getOcrInfo: data => {// 获取token
		return request({
			url: '/wx/rest/system/getOcrInfo',
			method: 'GET',
			data: data,
			isLoading: true ,//是否需要显示加载动画
			isLogin: true //是否需要登录 需要则带入token
		})
	},
	getNewCarList: data => {// 新车列表
		return request({
			url: '/wx/newCar/list',
			method: 'GET',
			data: data,
			isLoading: true ,
			isLogin: true 
		})
	},
	globalSearch: data => {// 搜索
		return request({
			url: '/wx/my/globalSearch',
			method: 'GET',
			data: data,
			isLoading: true ,
			isLogin: true 
		})
	}
	

}

export default morePage

